package cn.izeno.wx.models.mp

import com.alibaba.fastjson.annotation.JSONField
import java.io.Serializable

class SyncKeyRes : Serializable {
  @JSONField(name = "Count")
  var count = 0

  @JSONField(name = "List")
  var list = emptyList<SyncKey>()

  @get:JSONField(serialize = false)
  val string: String
    get() = list.map { "${it.key}_${it.value}" }.joinToString("|")

}
